function loadHospQuota(monitorType, totalQuota, divId) {
	var str = '';
	var ul = '';
	for (var o in totalQuota) {
		if (totalQuota.length > 0) {
			// 拼接ul
			if (o == 0) {
				ul += '<li role="presentation" class="active">';
			} else {
				ul += '<li role="presentation">';
			}
			ul += '<a href="#' + totalQuota[o].code + 'QuaId-hosp' + tabId
					+ '" role="tab" data-toggle="tab" class="top-tab" >'
					+ totalQuota[o].name + '</a>';
			ul += '</li>';
			$('#' + tabId + ' #hosp-ul').html(ul);
			// 开始拼接div
			if (o == 0) {
				str += '<div role="tabpanel" class="tab-pane active" id="'
						+ totalQuota[o].code + 'QuaId-hosp' + tabId + '">';
			} else {
				str += '<div role="tabpanel" class="tab-pane" id="'
						+ totalQuota[o].code + 'QuaId-hosp' + tabId + '">';
			}
			str += '<div class="paddingd10">';
			str += '<div class="row" >';
		}
		var quotaTypes = totalQuota[o].data;
		for (var q in quotaTypes) {
			var quotas = quotaTypes[q];
			str += ' <div class="col-xs-4"> ';
			str += '     <div class="infocq"> ';
			str += '         <div class="tii margind10"><span>'
					+ quotas.name + '</span></div> ';
			str += '         <div class="ci"> ';
			for (var o1 in quotas.data) {
				var quota = quotas.data[o1];
				var quotaCode = quota.quotaCode;
				var quotaName = quota.quotaName;
				var quotaType = quota.quotaType;
				var isLink = quota.isLink;
//				alert(quotaCode)
				str += '             <div class="row contotalcq2"> ';
				str += '                 <div class="col-xs-6">'
						+ quotaName + '</div> ';
				if("ratio"==quotaType){
					str += '                 <div class="col-xs-6" id="'+quotaCode+'-value">'+getQuotaValue(quotaCode, quotaName, monitorType, function(value, valuecc, code){
						$("#" + tabId + " #" + divId + " #"+code+"-value").html(comparePercent(value, valuecc));
					})+'</div> ';
				}else{
					str += '                 <div class="col-xs-6" id="'+quotaCode+'-value">'+getQuotaValue(quotaCode, quotaName, monitorType, function(value, valuecc, code, name){
							if(isLink=="1"){
								if(value>0){
									$("#" + tabId + " #" + divId + " #"+code+"-value").html("<a href=\"javascript:loadCaseDtl('指标("+name+")','','"+monitorType+"', '"+code+"')\">"+compareValue(value, valuecc)+"</a>");
								} else {
									$("#" + tabId + " #" + divId + " #"+code+"-value").html(compareValue(value, valuecc));
								}
							}else{
								$("#" + tabId + " #" + divId + " #"+code+"-value").html(compareValue(value, valuecc));
							}
					})+'</div> ';
				}
				str += '             </div> ';
			}
			str += '         </div> ';
			str += '     </div> ';
			str += ' </div> ';
		}
		if (totalQuota.length > 1) {
			str += '</div>';
			str += '</div>';
			str += '</div>';
		}
	}
	$("#" + tabId + " #" + divId).html(str);
}

function getQuotaValue(quotaCode, quotaName, monitorType, callback){
	$.post(contextPath + "/Monitor/monitor.dhc", {
		'dateFrom' : paramTabPage[tabId].dateFrom,
		'dateTo' : paramTabPage[tabId].dateTo,
		'mrLot' : paramTabPage[tabId].mrLot,
		'mrType' : paramTabPage[tabId].mrType,
		'compareType' : paramTabPage[tabId].compareType,
		'pType' : paramTabPage[tabId].pType,
		'monitorType' : monitorType,
		'quotaCode' : quotaCode,
		'pardepCode' : paramTabPage[tabId].depCode,
		'pardepgroupCode' : paramTabPage[tabId].depGroupCode,
		'pargroupName' : paramTabPage[tabId].groupName,
		'parwardCode': paramTabPage[tabId].wardCode,
		'parmdcCode' : paramTabPage[tabId].mdcCode,
		'paradrgCode' : paramTabPage[tabId].adrgCode,
		'pardrgCode' : paramTabPage[tabId].drgCode
	}).done(function(data) {
		if(data.success){
			if(data.data.length>0){
				data = data.data[0];
				callback(data.QuotaValue, data.QuotaValuecc, quotaCode, quotaName);
			}else{
				callback("", "", quotaCode, quotaName);
			}
		}else{
			callback("", "", quotaCode, quotaName);
		}
	});
	return "";
}

	/**
	 * 科室组drgs评价
	 * @param {} totalQuota
	 * @param {} monitorName
	 * @param {} divId
	 * @param {} commonul
	 */
function loadDepGroupDrgspingjia(totalQuota, monitorName, divId,commonul) {			
			if (!monitorName)
				monitorName = ""
			if (paramTabPage[tabId].compareType == "year") {
				compareName = "同期";
			} else if (paramTabPage[tabId].compareType == "month") {
				compareName = "上期";
			} else if (paramTabPage[tabId].compareType == "manage") {
				compareName = "绩效";
			} else if (paramTabPage[tabId].compareType == "std") {
				compareName = "标杆";
			}
			var str = '';
			var ul = '';
			for (var o in totalQuota) {
				var QuotaCode = totalQuota[o].data;				
				// 拼接ul
				if (totalQuota.length > 1) {
					if (o == 0) {
						ul += '<li role="presentation" class="active">';
					} else {
						ul += '<li role="presentation">';
					}
					ul += '<a href="#' + totalQuota[o].code + 'QuaId' + tabId
							+ '" role="tab" data-toggle="tab" class="top-tab" >' + totalQuota[o].name
							+ '</a>';
					ul += '</li>';
				$("#" + tabId +" #"+commonul).html(ul);
				}
				// 开始拼接div
				if (o == 0) {
					str += '<div role="tabpanel" class="tab-pane active" id="'
							+ totalQuota[o].code + 'QuaId' + tabId + '">';
				} else {
					str += '<div role="tabpanel" class="tab-pane" id="'
							+ totalQuota[o].code + 'QuaId' + tabId + '">';
				}
		
				for (var o in QuotaCode) {
					var quotas = QuotaCode[o];
					str += ' <div class="paddingd10"> ';
					str += '   <div class="tabconti">' + quotas.name + '</div> ';
					str += '   <ul class="nav nav-tabs tabconulcq" role="tablist"> ';
					for (var o1 in quotas.data) {
						var quota = quotas.data[o1];
						var quotaCode = quota.quotaCode;
						var quotaName = quota.quotaName;
						if (o1 == 0) {
							str += '       <li role="presentation" class="active"> ';
						} else {
							str += '       <li role="presentation"> ';
						}
						str += '           <a href="#' + quotaCode + '-tc' + tabId
								+ '" role="tab" data-toggle="tab">' + quotaName
								+ '</a> ';
						str += '       </li> ';
					}
					str += '   </ul> ';
					str += '   <div class="clearfix"></div> ';
					str += '   <div class="tab-content"> ';
					for (var o1 in quotas.data) {
						var quota = quotas.data[o1];
						var quotaCode = quota.quotaCode;
						var quotaName = quota.quotaName;
						if (o1 == 0) {
							str += '       <div role="tabpanel" class="tab-pane active" compareName="'+ compareName+ '" monitorName="'+ monitorName
									        + '" quotaName="'+ quotaName+ '" quotaCode="'+ quotaCode+ '" id="'+ quotaCode+ '-tc'+ tabId+ '"> ';
						} else {
						str += '       <div role="tabpanel" class="tab-pane" compareName="'+ compareName+ '" monitorName="'+ monitorName+ '" quotaName="'+ quotaName+ '" quotaCode="'+ quotaCode+ '" id="'+ quotaCode+ '-tc'+ tabId+ '"> ';}
						str += '           <div class="row padding100"> ';
						str += '               <div class="col-xs-6"> ';
						str += '                   <div class="echartscq" style="height:400px;width:566px;"></div> ';
						str += '               </div> ';
						str += '               <div class="col-xs-6 dataChangeSel"> ';
						str += '                   <table id="'+ quotaCode+ '-table'+ tabId+ '" class="table table-striped" cellspacing="0" width="100%" role="grid" aria-describedby="example_info"> ';
						str += '                       <caption class="contaotalsccq">'+ monitorName + quotas.name + '(' + quotaName+ ')</caption> ';
						str += '                       <thead> ';
						str += '                           <tr role="row"> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1" aria-sort="ascending">'+ monitorName + '</th> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1">本期值</th> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1">'+ compareName + '值</th> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1">增长率</th> ';					
						str += '                           </tr> ';
						str += '                       </thead> ';
						str += '                       <tbody></tbody> ';
						str += '                   </table> ';
						str += '               </div> ';
						str += '           </div> ';
						str += '       </div> ';
					}
					str += '   </div> ';
					str += ' </div> ';
				}
				str += '</div>';		
			}

			$("#" + tabId + " #" + divId).html(str);
     }
     
/**
 * 加载科室组drgs评价数据
 * @param {} totalQuota
 * @param {} monitorType
 * @param {} functionOne
 * @param {} operfunctionTwo
 */
function loadDepGroupDrgspingjiaData(totalQuota, monitorType, functionOne,operfunctionTwo) {
	for (var o in totalQuota) {
		var quotaTypes = totalQuota[o].data;
		for (var o in quotaTypes) {
			var quotas = quotaTypes[o];
			for (var o1 in quotas.data) {
				var quota = quotas.data[o1];
				var quotaCode = quota.quotaCode;
				var quotaName = quota.quotaName;
				var quotaType = quota.quotaType;
				loadDepGroupDRGssub(quotaCode, quotaType, quotaName, monitorType,functionOne, operfunctionTwo);// 最后两个参数为本页面自定义的方法，当没有方法传递时传递空字符
			}
		}
	}
}
/**
 * 加载科室组drgs评价回调函数
 * @param {} quotaCode
 * @param {} quotaName
 * @param {} monitorType
 * @param {} functionOne
 * @param {} operfunctionTwo
 */
function loadDepGroupDRGssub(quotaCode, quotaType, quotaName, monitorType, functionOne,operfunctionTwo) {
	$.post(contextPath + "/Monitor/monitor.dhc", {
				'dateFrom' : paramTabPage[tabId].dateFrom,
				'dateTo' : paramTabPage[tabId].dateTo,
				'mrLot' : paramTabPage[tabId].mrLot,
				'mrType' : paramTabPage[tabId].mrType,
				'compareType' : paramTabPage[tabId].compareType,
				'pType' : paramTabPage[tabId].pType,
				'monitorType' : monitorType,
				'quotaCode' : quotaCode,
				'pardepCode' : paramTabPage[tabId].depCode,
				'pardepgroupCode' : paramTabPage[tabId].depGroupCode,
				'pargroupName' : paramTabPage[tabId].groupName,
				'parmdcCode' : paramTabPage[tabId].mdcCode,
				'paradrgCode' : paramTabPage[tabId].adrgCode,
				'pardrgCode' : paramTabPage[tabId].drgCode
			}).done(function(data) {
		      data = data.data;
			 var columns = [{
					 "data" : "ccode1",				
					 "render": function(obj, type, full) {
					 	if(monitorType=="depGroup"||monitorType=="mdc"||monitorType=="adrg"){
					 		if(full.ccode==null){
                            return "<a title ='"+full.ccode+"' href=\"javascript:alertData()\">"+full.ddesc+"</a>";
					 		}else{
                            return "<a title ='"+full.ccode+"' href=\"javascript:"+functionOne+"('"+full.ccode+"','"+full.ddesc+"') \">"+full.ddesc+"</a>";
					 		}
					 	 }
					 	if(monitorType=="dep"||monitorType=="drgs"){
		                 return full.ddesc;
					 	 }
                    	}			 
				}, {
					"data" : "QuotaValue"
				}, {
					"data" : "QuotaValuecc"
				}, { "data": "increasing","sType": "number-fate",
	                    	 "render":function(obj, type, full){
	                    		 if("ratio"==quotaType){
	                    			 return gridcompareValuePercent(full.QuotaValue, full.QuotaValuecc);
	                    		 }
	                    		 return gridcompareValue(full.QuotaValue, full.QuotaValuecc);
	                    	 }
	              }
				];
			 	var paramsDataTables={};
				$("#" + quotaCode + "-table" + tabId).drgsDataTable(columns, data, paramsDataTables);			
				
			})
}


/**
 * 各指标详情布局
 * @param {} totalQuota
 * @param {} monitorName
 * @param {} divId
 * @param {} commonul
 */
function loadDepGroupDrgsQuota(totalQuota, monitorName, divId,commonul) {
			if (!monitorName)
				monitorName = ""
			if (paramTabPage[tabId].compareType == "year") {
				compareName = "同期";
			} else if (paramTabPage[tabId].compareType == "month") {
				compareName = "上期";
			} else if (paramTabPage[tabId].compareType == "manage") {
				compareName = "绩效";
			} else if (paramTabPage[tabId].compareType == "std") {
				compareName = "标杆";
			}
			var str = '';
			var ul = '';
			for (var o in totalQuota) {
				var QuotaCode = totalQuota[o].data;				
				// 拼接ul
				if (totalQuota.length > 1) {
					if (o == 0) {
						ul += '<li role="presentation" class="active">';
					} else {
						ul += '<li role="presentation">';
					}
					ul += '<a href="#' + totalQuota[o].code + 'QuaId' + tabId
							+ '" role="tab" data-toggle="tab" class="top-tab" >' + totalQuota[o].name
							+ '</a>';
					ul += '</li>';
				$("#" + tabId +" #"+commonul).html(ul);
				}
				// 开始拼接div
				if (o == 0) {
					str += '<div role="tabpanel" class="tab-pane active" id="'
							+ totalQuota[o].code + 'QuaId' + tabId + '">';
				} else {
					str += '<div role="tabpanel" class="tab-pane" id="'
							+ totalQuota[o].code + 'QuaId' + tabId + '">';
				}
		
				for (var o in QuotaCode) {
					var quotas = QuotaCode[o];
					str += ' <div class="paddingd10"> ';
					str += '   <div class="tabconti">' + quotas.name + '</div> ';
					str += '   <ul class="nav nav-tabs tabconulcq" role="tablist"> ';
					for (var o1 in quotas.data) {
						var quota = quotas.data[o1];
						var quotaCode = quota.quotaCode;
						var quotaName = quota.quotaName;
						if (o1 == 0) {
							str += '       <li role="presentation" class="active"> ';
						} else {
							str += '       <li role="presentation"> ';
						}
						str += '           <a href="#' + quotaCode + '-tc' + tabId
								+ '" role="tab" data-toggle="tab">' + quotaName
								+ '</a> ';
						str += '       </li> ';
					}
					str += '   </ul> ';
					str += '   <div class="clearfix"></div> ';
					str += '   <div class="tab-content"> ';
					for (var o1 in quotas.data) {
						var quota = quotas.data[o1];
						var quotaCode = quota.quotaCode;
						var quotaName = quota.quotaName;
						var quotaType = quota.quotaType;
						if (o1 == 0) {
							str += '       <div role="tabpanel" class="tab-pane active" compareName="'+ compareName+ '" monitorName="'+ monitorName
									        + '" quotaName="'+ quotaName+ '" quotaType="'+quotaType+'" quotaCode="'+ quotaCode+ '" id="'+ quotaCode+ '-tc'+ tabId+ '"> ';
						} else {
						str += '       <div role="tabpanel" class="tab-pane" compareName="'+ compareName+ '" monitorName="'+ monitorName+ '" quotaName="'+ quotaName+ '" quotaType="'+quotaType+'" quotaCode="'+ quotaCode+ '" id="'+ quotaCode+ '-tc'+ tabId+ '"> ';}
						str += '           <div class="row padding100"> ';
						str += '               <div class="col-xs-6"> ';
						str += '                   <div class="echartscq" style="height:400px;width:566px;"></div> ';
						str += '               </div> ';
						str += '               <div class="col-xs-6 dataChangeSel"> ';
						str += '                   <table id="'+ quotaCode+ '-table'+ tabId+ '" class="table table-striped" cellspacing="0" width="100%" role="grid" aria-describedby="example_info"> ';
						if(quotaType == 'ratio'){
							str += '                  <caption class="contaotalsccq">'+ monitorName + quotas.name + '(' + quotaName+ '"%")</caption> ';
						}else{
							str += '                  <caption class="contaotalsccq">'+ monitorName + quotas.name + '(' + quotaName+ ')</caption> ';
						}
						str += '                       <thead> ';
						str += '                           <tr role="row"> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1" aria-sort="ascending">'+ monitorName + '</th> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1">本期值</th> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1">'+ compareName + '值</th> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1">增长率</th> ';
						str += '                               <th tabindex="0" aria-controls="example" rowspan="1" colspan="1">操作</th> ';
						str += '                           </tr> ';
						str += '                       </thead> ';
						str += '                       <tbody></tbody> ';
						str += '                   </table> ';
						str += '               </div> ';
						str += '           </div> ';
						str += '       </div> ';
					}
					str += '   </div> ';
					str += ' </div> ';
				}
				str += '</div>';		
			}

			$("#" + tabId + " #" + divId).html(str);
     }
     /**
      * 各指标数据加载
      * @param {} totalQuota
      * @param {} monitorType
      * @param {} functionOne
      * @param {} operfunctionTwo
      */
function loadDepGroupQuotaData(totalQuota, monitorType, functionOne,operfunctionTwo) {
	for (var o in totalQuota) {
		var quotaTypes = totalQuota[o].data;
		for (var o in quotaTypes) {
			var quotas = quotaTypes[o];
			for (var o1 in quotas.data) {
				var quota = quotas.data[o1];
				var quotaCode = quota.quotaCode;
				var quotaName = quota.quotaName;
				var quotaType = quota.quotaType;
				loadDRGsQuotaDatasub(quotaCode,quotaType, quotaName, monitorType,functionOne, operfunctionTwo);// 最后两个参数为本页面自定义的方法，当没有方法传递时传递空字符
			}
		}
	}
}
/**
 * 数据加载回调函数
 * @param {} quotaCode
 * @param {} quotaName
 * @param {} monitorType
 * @param {} functionOne
 * @param {} operfunctionTwo
 */
function loadDRGsQuotaDatasub(quotaCode, quotaType, quotaName, monitorType, functionOne,operfunctionTwo) {
	$.post(contextPath + "/Monitor/monitor.dhc", {
				'dateFrom' : paramTabPage[tabId].dateFrom,
				'dateTo' : paramTabPage[tabId].dateTo,
				'mrLot' : paramTabPage[tabId].mrLot,
				'mrType' : paramTabPage[tabId].mrType,
				'compareType' : paramTabPage[tabId].compareType,
				'pType' : paramTabPage[tabId].pType,
				'monitorType' : monitorType,
				'quotaCode' : quotaCode,
				'pardepCode' : paramTabPage[tabId].depCode,
				'pardepgroupCode' : paramTabPage[tabId].depGroupCode,
				'pargroupName' : paramTabPage[tabId].groupName,
				'parmdcCode' : paramTabPage[tabId].mdcCode,
				'paradrgCode' : paramTabPage[tabId].adrgCode,
				'pardrgCode' : paramTabPage[tabId].drgCode
			}).done(function(data) {
		      data = data.data;		  
					var columns = [{
						 "data" : "ccode1",				
						 "render": function(obj, type, full) {
						 	if(monitorType=="depGroup"){
								if(full.ccode==null){
		                            return "<a title ='"+full.ccode+"' href=\"javascript:alertData()\">"+full.ddesc+"</a>";
							 	}else{
		                            return "<a title ='"+full.ccode+"' href=\"javascript:"+functionOne+"('"+full.ccode+"','"+full.ddesc+"') \">"+full.ddesc+"</a>";
							 	}
 						 	 }
						 	if(monitorType=="mdc"||monitorType=="adrg"){
 						 		if(full.ccode==null){
		                            return "<a title ='"+full.ccode+"' href=\"javascript:alertData()\">"+full.ddesc+"</a>";
							 	}else{
		                            return "<a title ='"+full.ccode+"' href=\"javascript:"+functionOne+"('"+full.ccode+"','"+full.ddesc+"') \">("+full.ccode+")"+full.ddesc+"</a>";
							 	}
 						 	 }
						 	 if(monitorType=="dep"){
						 		 return full.ddesc;
						 	 }
						 	 if(monitorType=="drgs"){
						 		return "("+full.ccode+")"+full.ddesc;
						 	 }
	                    }			 
					}, {
						"data" : "QuotaValue"
					}, {
						"data" : "QuotaValuecc"
					}, { "data": "increasing","sType": "number-fate",
	                    	 "render":function(obj, type, full){
	                    		 if("ratio"==quotaType){
	                    			 return gridcompareValuePercent(full.QuotaValue, full.QuotaValuecc);
	                    		 }
	                    		 return gridcompareValue(full.QuotaValue, full.QuotaValuecc);
	                    	 }
	              }, {
					"data" : "OPERATION",
					 "render":function(obj, type, full){  
					if(monitorType=="mdc"||monitorType=="adrg"||monitorType=="drgs"){
					 if(full.ccode==null){
					      return "<a title='科室' class='jumplink' href=\"javascript:alertData()\"><i class='fa fa-hospital-o'></i></a>&nbsp;&nbsp;"
					 	   +"<a title='趋势' href=\"javascript:alertData()\" class='trend-link'><i class='fa fa-line-chart'></i></a>";
					 	  }else{
                            return "<a title='科室' class='jumplink' href=\"javascript:"+operfunctionTwo+"('"+full.ccode+"','"+full.ddesc+"','"+monitorType+"')\"><i class='fa fa-hospital-o'></i></a>&nbsp;&nbsp;"
	                    	+ "<a title='趋势' href=\"javascript:trend('"+full.ccode+"', '"+full.ddesc+"', '"+monitorType+"', '"+quotaCode+"', '"+quotaName+"')\" class='trend-link'><i class='fa fa-line-chart'></i></a>";					 	}
					 	}else if (monitorType=="dep"){
					 		return "<a title='趋势' href=\"javascript:trend('"+full.ccode+"', '"+full.ddesc+"', '"+monitorType+"', '"+quotaCode+"', '"+quotaName+"')\" class='trend-link'><i class='fa fa-line-chart'></i></a>";					 	
					 	}else{
					    if(full.ccode==null){
					 	return "<a title='病种' class='jumplink' href=\"javascript:alertData()\"><i class='fa fa-list-alt'></i></a>&nbsp;&nbsp;"
	                    		 + "<a title='趋势' href=\"javascript:alertData()\" class='trend-link'><i class='fa fa-line-chart'></i></a>";
					   }else{
					 	return "<a title='病种' class='jumplink' href=\"javascript:"+operfunctionTwo+"('"+full.ccode+"','"+full.ddesc+"','"+monitorType+"')\"><i class='fa fa-list-alt'></i></a>&nbsp;&nbsp;"
	                    	+ "<a title='趋势' href=\"javascript:trend('"+full.ccode+"', '"+full.ddesc+"', '"+monitorType+"', '"+quotaCode+"', '"+quotaName+"')\" class='trend-link'><i class='fa fa-line-chart'></i></a>";
					 }          
					 	}
                	 }
				}];
					var paramsDataTables={columnDefs:[{"orderable": false,"targets":[4] }]};
	              $("#" + quotaCode + "-table" + tabId).drgsDataTable(columns, data, paramsDataTables);								
			})
}
function loadCaseDtl(title, ccode, monitorType, quotaCode){
	var param = jQuery.extend(true, {}, paramTabPage[tabId]);
	param.quotaCode = quotaCode;
	if(ccode){
		if(monitorType == "depGroup"){
			param.depGroupCode=ccode;
		}else if(monitorType == "dep"){
			param.depCode=ccode;
		}else if(monitorType == "ward"){
			param.wardCode=ccode;
		}else if(monitorType == "clinic"){
			param.groupName=ccode;
		}else if(monitorType == "protomedicus"){
			param.protomedicus=ccode;
		}else if(monitorType == "physician"){
			param.physician=ccode;
		}else if(monitorType == "resident"){
			param.resident=ccode;
		}else if(monitorType == "mdc"){
			param.mdcCode=ccode;
		}else if(monitorType == "adrg"){
			param.adrgCode=ccode;
		}else if(monitorType == "drgs"){
			param.drgCode=ccode;
		}
	}
	openTab('/pages/drgscommon/case.jsp', title+"病例明细", "caseDtl"+monitorType+ccode, "caseDtl"+monitorType+ccode, param);
}
//提示未入组数据
function alertData(){
	drgUI.warning('未入组数据');
	return;
}
function heightMore(){
	if($('#'+tabId+' #upDown').css('height')=='160px'){
		$('#'+tabId+' #upDown').css({'height':'400px','border-bottom-color':'#fff','overflow-y':'visible'});
	}else {
		$('#'+tabId+' #upDown').css({'height':'160px','border-bottom-color':'#ddd','overflow-y':'hidden'});
	}
}
